package com.xca.znb.entity;

public class NewsLetter {
    private int id ;
    private String phone1 ;
    private String phone2 ;
    private String time ;
    public NewsLetter(){

    }
    public NewsLetter(String phone1 , String phone2 , String time){
        this.phone1 = phone1 ;
        this.phone2 = phone2 ;
        this.time = time ;
    }
    public NewsLetter(int id , String phone1 , String phone2 , String time){
        this.id = id ;
        this.phone1 = phone1 ;
        this.phone2 = phone2 ;
        this.time = time ;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhone1() {
        return phone1;
    }

    public void setPhone1(String phone1) {
        this.phone1 = phone1;
    }

    public String getPhone2() {
        return phone2;
    }

    public void setPhone2(String phone2) {
        this.phone2 = phone2;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "NewsLetter{" +
                "id=" + id +
                ", phone1='" + phone1 + '\'' +
                ", phone2='" + phone2 + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
